<?php $img_path = $upload['Upload']['dir'] . DS . $upload['Upload']['filename'];
$img_att = array('title' => $upload['Upload']['title']);
echo $lightbox->img(null, $img_path, $img_att, array(), 'thumb'); ?>